import QtQuick 2.0
import org.qtproject.qtquick 1.0


Rectangle {
    id: container
    color: "white"

    property string imageSource: "qrc:/images/resources/replay-hdpi"
                                 //+ ApplicationInfo.dpi
                                 + "/ic_action_refresh.png";


    Column {
        id: id_waiting
        spacing: 20;
        anchors.horizontalCenter: parent.horizontalCenter;
        anchors.verticalCenter: parent.verticalCenter;

        visible: true;

        Image {
            id: image

            source: container.imageSource
            ParallelAnimation {
                running: true
                NumberAnimation { target: image; property: "opacity"; from: 0.0; to: 1.0; duration: 200 }
                NumberAnimation { target: image; property: "rotation"; from: 0; to: 360; loops: Animation.Infinite; duration: 1200 }
            }
        }

    }

}
